﻿define(["service/service", "service/httpService"], function (service) {
    service.factory("playingService", function (httpService) {
        var methods = {
            gets: function (params) {
                return httpService.get("/admin/playing/gets", params);
            },
            get: function (params) {
                return httpService.get("/admin/playing/get", params);
            },
            "update": function (params) {
                return httpService.upload("/admin/playing/update", params);
            },
            "add": function (params) {
                return httpService.upload("/admin/playing/add", params);
            },
            "getPlayingStatistics": function (params) {
                return httpService.get("/admin/playing/getPlayingStatistics", params);
            },
            "getUserGuessPlayingHiss": function (params) {
                return httpService.get("/admin/playing/getUserGuessPlayingHiss", params);
            },
        }
        return methods;
    });
});